package com.fhnew.app.widget;

import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.widget.ImageView;

public class GameItemView extends ImageView {

    private int index;

    private  int gameId;
    private String gameTag;

    //表示是否有二级跳转
    private int open_directly = 1; //等于1 是直接进入游戏  否则获取下级游戏列表

    public GameItemView (Context context) {
        super(context);
    }

    public GameItemView (Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    public GameItemView (Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    public int getGameId () {
        return gameId;
    }

    public void setGameId (int gameId) {
        this.gameId = gameId;
    }

    public int getIndex () {
        return index;
    }

    public void setIndex (int index) {
        this.index = index;
    }

    public String getGameTag () {
        return gameTag;
    }

    public void setGameTag (String gameTag) {
        this.gameTag = gameTag;
    }

    public int getOpen_directly () {
        return open_directly;
    }

    public void setOpen_directly (int open_directly) {
        this.open_directly = open_directly;
    }
}
